package com.kingdee.eas.ec.garden.invite.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.ec.basedata.BaseBillEntryCollection;
import com.kingdee.eas.framework.CoreBillEntryBaseCollection;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.BillEntryBaseCollection;
import com.kingdee.eas.ec.garden.invite.BaseInviteSupplierEntryCollection;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.eas.ec.garden.invite.TransRentSupplierEntryCollection;
import com.kingdee.eas.ec.garden.invite.TransRentSupplierEntryInfo;



public abstract class AbstractTransRentSupplierEntryControllerBean extends BaseInviteSupplierEntryControllerBean implements TransRentSupplierEntryController
{
    protected AbstractTransRentSupplierEntryControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("9F1F4789");
    }

    public TransRentSupplierEntryInfo getTransRentSupplierEntryInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("a95f5ea5-b5e6-44c2-aace-8f075f348456"), new Object[]{ctx, pk});
            invokeServiceBefore(svcCtx);
            TransRentSupplierEntryInfo retValue = (TransRentSupplierEntryInfo)_getValue(ctx, pk);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk);
    }

    public TransRentSupplierEntryInfo getTransRentSupplierEntryInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("453f2709-75ad-45d4-bf9f-5da22dbe733c"), new Object[]{ctx, pk, selector});
            invokeServiceBefore(svcCtx);
            TransRentSupplierEntryInfo retValue = (TransRentSupplierEntryInfo)_getValue(ctx, pk, selector);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk, selector);
    }

    public TransRentSupplierEntryInfo getTransRentSupplierEntryInfo(Context ctx, String oql) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("0e7e97ed-d6a9-4b59-88b9-fda449b08af2"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            TransRentSupplierEntryInfo retValue = (TransRentSupplierEntryInfo)_getValue(ctx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
    {
        return super._getValue(ctx, oql);
    }

    public TransRentSupplierEntryCollection getTransRentSupplierEntryCollection(Context ctx) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("d6e20a64-9b67-4c06-bba4-06ad6c3cd1de"), new Object[]{ctx});
            invokeServiceBefore(svcCtx);
            TransRentSupplierEntryCollection retValue = (TransRentSupplierEntryCollection)_getCollection(ctx, svcCtx);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
    {
        return super._getCollection(ctx, svcCtx);
    }

    public TransRentSupplierEntryCollection getTransRentSupplierEntryCollection(Context ctx, EntityViewInfo view) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("ab4b672b-c87e-4549-a81b-74e01a9ad147"), new Object[]{ctx, view});
            invokeServiceBefore(svcCtx);
            TransRentSupplierEntryCollection retValue = (TransRentSupplierEntryCollection)_getCollection(ctx, svcCtx, view);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, view);
    }

    public TransRentSupplierEntryCollection getTransRentSupplierEntryCollection(Context ctx, String oql) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("88f755e7-f513-436c-a9d0-931c6d2d7e09"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            TransRentSupplierEntryCollection retValue = (TransRentSupplierEntryCollection)_getCollection(ctx, svcCtx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, oql);
    }

    public BaseInviteSupplierEntryCollection getBaseInviteSupplierEntryCollection (Context ctx) throws BOSException
    {
    	return (BaseInviteSupplierEntryCollection)(getTransRentSupplierEntryCollection(ctx).cast(BaseInviteSupplierEntryCollection.class));
    }
    public BaseInviteSupplierEntryCollection getBaseInviteSupplierEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseInviteSupplierEntryCollection)(getTransRentSupplierEntryCollection(ctx, view).cast(BaseInviteSupplierEntryCollection.class));
    }
    public BaseInviteSupplierEntryCollection getBaseInviteSupplierEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseInviteSupplierEntryCollection)(getTransRentSupplierEntryCollection(ctx, oql).cast(BaseInviteSupplierEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx) throws BOSException
    {
    	return (BaseBillEntryCollection)(getTransRentSupplierEntryCollection(ctx).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseBillEntryCollection)(getTransRentSupplierEntryCollection(ctx, view).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseBillEntryCollection)(getTransRentSupplierEntryCollection(ctx, oql).cast(BaseBillEntryCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (BillEntryBaseCollection)(getTransRentSupplierEntryCollection(ctx).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BillEntryBaseCollection)(getTransRentSupplierEntryCollection(ctx, view).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (BillEntryBaseCollection)(getTransRentSupplierEntryCollection(ctx, oql).cast(BillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getTransRentSupplierEntryCollection(ctx).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getTransRentSupplierEntryCollection(ctx, view).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getTransRentSupplierEntryCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBaseCollection)(getTransRentSupplierEntryCollection(ctx).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBaseCollection)(getTransRentSupplierEntryCollection(ctx, view).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBaseCollection)(getTransRentSupplierEntryCollection(ctx, oql).cast(CoreBaseCollection.class));
    }
}